<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test26</title>
</head>
<body>
    <script type="text/javascript">
        var a = parseInt(prompt("请输入第一个数字")) ;
        var b = parseInt(prompt("请输入第二个数字")) ;
        MAX(a,b);
        function MAX(a,b) {
            return alert(a+b);
        }
    </script>
</body>
</html>